package com.yunhe.authority.model.housing;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.neo4j.ogm.annotation.Property;

/**
 * @ClassName: OfficeAreaStatistics
 * @Description:
 * @author: GongDaCheng
 * @Date: 16:55 2021/6/23
 */
@ApiModel(value = "OfficeAreaStatistics", description = "房源面积统计")
public class OfficeAreaStatistics {

    @ApiModelProperty(value = "房源总面积")
    @Property(name = "totalArea")
    private double totalArea;

    @ApiModelProperty(value = "空置面积")
    @Property(name = "vacantArea")
    private double vacantArea;

    @ApiModelProperty(value = "预定面积")
    @Property(name = "scheduledArea")
    private double scheduledArea;

    @ApiModelProperty(value = "已租面积")
    @Property(name = "leasedArea")
    private double leasedArea;

    @ApiModelProperty(value = "已售面积")
    @Property(name = "soldArea")
    private double soldArea;

    public OfficeAreaStatistics(){
        this.leasedArea = 0;
        this.scheduledArea = 0;
        this.soldArea = 0;
        this.vacantArea = 0;
        this.totalArea = 0;
    }

    public OfficeAreaStatistics(double totalArea, double vacantArea, double scheduledArea, double leasedArea, double soldArea) {
        this.totalArea = totalArea;
        this.vacantArea = vacantArea;
        this.scheduledArea = scheduledArea;
        this.leasedArea = leasedArea;
        this.soldArea = soldArea;
    }

    public double getTotalArea() {
        return totalArea;
    }

    public void setTotalArea(double totalArea) {
        this.totalArea = totalArea;
    }

    public double getVacantArea() {
        return vacantArea;
    }

    public void setVacantArea(double vacantArea) {
        this.vacantArea = vacantArea;
    }

    public double getScheduledArea() {
        return scheduledArea;
    }

    public void setScheduledArea(double scheduledArea) {
        this.scheduledArea = scheduledArea;
    }

    public double getLeasedArea() {
        return leasedArea;
    }

    public void setLeasedArea(double leasedArea) {
        this.leasedArea = leasedArea;
    }

    public double getSoldArea() {
        return soldArea;
    }

    public void setSoldArea(double soldArea) {
        this.soldArea = soldArea;
    }
}
